<?php
if (!defined('IN_ZWS')) exit();

class MoodViewModel extends ViewModel {
	public $viewFields = array('ZoneMood' => array('id', 'uid', 'pid', 'mood', 'ctime'),
		'User' => array('username', 'password', 'email', '_on' => 'User.id=ZoneMood.uid', '_type' => "LEFT"),
		'UserInfo' => array('name', 'sex', 'age', 'mobile', 'site', 'address', 'zip', 'intro', 'avatar', '_on' => 'UserInfo.uid=ZoneMood.uid', '_type' => "LEFT"),
		);
}
